package com.mcxx.modules.base.service.read;

import com.mcxx.modules.base.dao.read.MqMessageReadDao;
import com.mcxx.modules.base.entity.MqMessageEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class MqMessageReadService {
    @Autowired
    private MqMessageReadDao mqMessageReadDao;


    public List<MqMessageEntity> listAll() {
        return mqMessageReadDao.listAll();
    }



    public MqMessageEntity getById(String id) {
        return mqMessageReadDao.getById(id);
    }

}
